package common.customer.bean;

import java.io.Serializable;
import java.util.Date;

import common.system.bean.Area;
import common.system.bean.City;
/**
 * 用户相关信息
 * @author Administrator
 *
 */
public class Customer implements Serializable{
	private static final long serialVersionUID = 1L;
	//用户id
	private int id;
	//用户名
	private String userName;
	//用户密码
	private String passWord;
	
	//email地址
	private String email;
	//城市id
	private City city;
	private Area area;
	private String question;
	private String answer;
	private String commonIp;
	private String userState;
	private String userRole;
	private String systemChannel;
	private boolean vip;
	private String uuid;
	private String img;
	private long lastLoginTime;
	private Date lastLogin;
	private int jifen;//积分
	private int jinbi;//金币
	private String nicheng;
	//用来标识uuid产生的时间,默认两个小时过期
	private long uuidGenerateTime;
	private int qiandao;//连续签到次数
	private Date lastQiandao;//最后一次签到时间
	private String xinqing;//签到心情
	private String sex;
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public long getUuidGenerateTime(){
		return uuidGenerateTime;
	}
	public void setUuidGenerateTime(long uuidGenerateTime) {
		this.uuidGenerateTime = uuidGenerateTime;
	}
	public String getUuid() {
		return uuid;
	}
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	public Area getArea() {
		return area;
	}
	public void setArea(Area area) {
		this.area = area;
	}
	public String getUserState() {
		return userState;
	}
	public void setUserState(String userState) {
		this.userState = userState;
	}
	public String getUserRole() {
		return userRole;
	}
	public void setUserRole(String userRole) {
		this.userRole = userRole;
	}
	public String getCommonIp() {
		return commonIp;
	}
	public void setCommonIp(String commonIp) {
		this.commonIp = commonIp;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public City getCity() {
		return city;
	}
	public void setCity(City city) {
		this.city = city;
	}
	public String getSystemChannel() {
		return systemChannel;
	}
	public void setSystemChannel(String systemChannel) {
		this.systemChannel = systemChannel;
	}
	public boolean isVip() {
		return vip;
	}
	public void setVip(boolean vip) {
		this.vip = vip;
	}
	public int getJifen() {
		return jifen;
	}
	public void setJifen(int jifen) {
		this.jifen = jifen;
	}
	public int getJinbi() {
		return jinbi;
	}
	public void setJinbi(int jinbi) {
		this.jinbi = jinbi;
	}
	public String getNicheng() {
		return nicheng;
	}
	public void setNicheng(String nicheng) {
		this.nicheng = nicheng;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public long getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(long lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public Date getLastLogin() {
		return lastLogin;
	}
	public void setLastLogin(Date lastLogin) {
		this.lastLogin = lastLogin;
	}
	public int getQiandao() {
		return qiandao;
	}
	public void setQiandao(int qiandao) {
		this.qiandao = qiandao;
	}
	public Date getLastQiandao() {
		return lastQiandao;
	}
	public void setLastQiandao(Date lastQiandao) {
		this.lastQiandao = lastQiandao;
	}
	public String getXinqing() {
		return xinqing;
	}
	public void setXinqing(String xinqing) {
		this.xinqing = xinqing;
	}
}
